﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Attributes
{
    public class VersionsInAction
    {
        public VersionsInAction()
        {
        }

        [Version("1.0.0","first version")]
        private void FirstVersionOfPrintMethod()
        {
            //Console.WriteLine("This is the first version of print method!");
        }

        [Version("2.0.0", "second version")]
        public void SecondVersionOfPrintMethod()
        {
            //Console.WriteLine("This is the second version of print method!");
        }

        [Version("3.0.0", "third version")]
        public void ThirdVersionOfPrintMethod()
        {
            //Console.WriteLine("This is the third version of print method!");
        }
    }
}
